package com.central.scheduler.dao.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.central.common.model.TaskDefinition;
import com.central.db.mapper.SuperMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @author Tindy
 * @date 2021/7/3
 * @describe
 */
@Mapper
public interface TaskDefinitionMapper extends SuperMapper<TaskDefinition> {

    List<TaskDefinition> findTasks(Page<TaskDefinition> page, @Param("u") Map<String, Object> params, @Param("proId") Long proId);

}